﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RoleList.aspx.cs" Inherits="ZLCMS.Web.SystemManage.Basics.RightConfig.Role.RoleList" %>

<%=_framePage.GetPagerFormHtml(Request.RawUrl)%>

<form id="pageForm" method="post" runat="Server" class="pageForm">
    
<div class="pageHeader">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
			    <span>角色</span>
				<input name="name" cond="name" type="text" value="<%=Request["name"] %>"/>
			</li>
		</ul>
	    <div class="subBar">
			<ul>
			<li>
			    <a class="buttonActive" href="<%= Request.Path %>" onclick="ZLAN_DWZ_EX.redirect(this);" 
			    target="navTab" rel="<%= _framePage.NavTabId %>" title="<%= _framePage.NavTabTitle %>"><span>&nbsp;查&nbsp;询&nbsp;</span></a>
			</li>
			</ul>
	    </div>
	</div>
</div>

<div class="pageContent">   
   	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add"  href="/SystemManage/Basics/RightConfig/Role/RoleDetail.aspx" target="navTab" rel="RoleDetail" title="角色明细"><span>添加</span></a></li>
            <li><a class="delete" href="/SystemManage/Basics/RightConfig/Role/RoleDelete.aspx" target="selectedTodo"title="请确定要删除"><span>删除勾选</span></a></li>
		</ul>
	</div>
	<div class="tableList" layoutH="116">
	<table class="list" targetType="navTab" asc="asc" desc="desc">
	    <thead>
			<tr>
                <th width="22px"><input type="checkbox" group="ids" class="checkboxCtrl"/></th>
				<th width="100px">编码</th>
				<th width="120px">角色</th>
				<th width="100px" align=center>操作</th>
			</tr>
		</thead>
		<tbody>
            <asp:repeater runat="server" id="grid">
                <ItemTemplate>
			    <tr target="uid" rel=<%# Eval("RoleCode")%>>
                    <td><input name="ids" value="<%#Eval("RoleCode")%>" type="checkbox"/></td>
				    <td><%# Eval("RoleCode")%></td>
				    <td><%# Eval("RoleName")%></td>
				    <td align=center> 
				        <a href="/SystemManage/Basics/RightConfig/Role/RoleDetail.aspx?uid=<%# Eval("Id")%>" target="navTab" title="角色明细" rel="RoleDetail">修改</a>&nbsp;&nbsp;
				        <a href="/SystemManage/Basics/RightConfig/Role/RoleDelete.aspx?ids=<%# Eval("RoleCode")%>" target="ajaxTodo" title="请确定要删除" warn="请选择一项">删除</a>
				    </td>
			    </tr>
                </ItemTemplate>
            </asp:repeater>
		</tbody>
	</table>
</div>
	
     <%= _framePage.GetPagerContentHtml()%>
</div>
</form>